
<script setup lang="ts">
import { defineProps } from 'vue';

let tasks: []
const props = defineProps(['tasks']);
// const taskListRef = ref(null);
tasks = props.tasks
</script>


<template>
    <div>
        <h2>历史记录</h2>
        <a-list bordered>
            <a-list-item v-for="(task, index) in tasks" :key="index">{{ task }}</a-list-item>
        </a-list>
    </div>
</template>

<style scoped>
/* Add your custom styles here */
</style>